Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify detsim to read nexus files with int instead of strings #870

Merged
merged 9 commits into from
May 13, 2024

Conversation

paolafer
Copy link
Collaborator

@paolafer paolafer commented Apr 24, 2024

This PR modifies a few functions all over the code, to deal with nexus files with int instead of string in some columns of their dataframes.
The main modification is in the detsim city, in the selection of hits in active or buffer, but a few other functions needed to be updated, too.
A test has been added to prove that the code works.

Closes #869.

@paolafer paolafer requested a review from gonzaponte April 24, 2024 14:01
@paolafer paolafer force-pushed the update-for-non-strings branch from 11a5a9e to 6cda61c Compare April 24, 2024 14:08
@paolafer paolafer force-pushed the update-for-non-strings branch from d9fa6e6 to 5a597c8 Compare May 2, 2024 13:25
@paolafer paolafer force-pushed the update-for-non-strings branch 3 times, most recently from 094dd4a to 4aa9f55 Compare May 3, 2024 08:28
Copy link
Collaborator

@gonzaponte gonzaponte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A necessary update to deal with the change in the file structure produced upstream. Good job!

@carhc carhc force-pushed the update-for-non-strings branch from 4aa9f55 to 0908ebd Compare May 13, 2024 15:21
@carhc carhc merged commit 47503ba into next-exp:master May 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify detsim to deal with string-free nexus files
3 participants